{%extends 'base.html'%}
{% block body %}




<form class="form" method="POST" action="/post_phone_" style="margin-top: 60px;">
  <div class="container">

    <div class="row">
      <div class="col-sm-3 col-md-3"></div>
      <div class="form-group col-xs-12 col-sm-6 col-md-6">
        <label class="sr-only" for="exampleInputAmount">Amount (in dollars)</label>
        <div class="input-group">
          <div class="input-group-addon">输入手机</div>
          <input type="text" class="form-control" id="exampleInputAmount" placeholder="手机号" name="phone" required
            pattern="(\d{11})|^((\d{7,8})|(\d{4}|\d{3})-(\d{7,8})|(\d{4}|\d{3})-(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1})|(\d{7,8})-(\d{4}|\d{3}|\d{2}|\d{1}))$">
          <!-- <div class="input-group-addon">.00</div> -->
        </div>
      </div>
      <div class="col-sm-3 col-md-3"></div>
    </div>


    <!-- <div class="row"> -->
    <div style="text-align: center;margin-top: 30px;">
      <button type="submit" class="btn btn-primary">获取验证码</button>
    </div>
  </div>
</form>




{% endblock %}

{% block script %}
<script>
  document.getElementById("demo").innerHTML = "手机";
</script>
{% endblock %}